<zzzzzz-ui:message key="msg_success_add_user_role_association" type="success"/>
<zzzzzz-ui:message key="msg_info_add_user_role_association_no_item_selected" type="info"/>

<form:form method="post" action="${ctx}/control_panel/role/${roleId}/available_members/add">
	<div style="margin-bottom: 10px;">
		<input type="submit" value="Add associations" class="style2-button medium-button button" />
	</div>
	<table class="search-iterator">
		<tbody>
			<tr class="results-header">
				<th><input data-dom-id="select-all" type="checkbox" name="select_all"/></th>
				<th>Id</th>
				<th>Email</th>
				<th>Username</th>
				<th>Status</th>
			</tr>
			<c:forEach items="${searchContainer.results}" var="userBo">
				<tr class="results-row">
					<td><input data-dom-id="select-case" type="checkbox" name="select_case" value="${userBo.userId}"/></td>
					<td>${userBo.userId}</td>
					<td>${userBo.email}</td>
					<td>${userBo.username}</td>
					<td>${userBo.status}</td>
				</tr>
			</c:forEach>
		</tbody>
	</table>
</form:form>

<zzzzzz-ui:search-paginator searchContainer="${searchContainer}" />